sdk_generate_library()
sdk_add_include_directories(${EVM_HOME}/modules/iot/common)
sdk_add_include_directories(${EVM_HOME}/modules/iot/freertos)
sdk_library_add_sources(${EVM_HOME}/modules/iot/common/evm_module.c)
sdk_library_add_sources(${EVM_HOME}/modules/iot/common/evm_module_cffi.c)
sdk_library_add_sources(${EVM_HOME}/modules/iot/common/evm_module_process.c)
sdk_library_add_sources(${EVM_HOME}/modules/iot/common/evm_module_console.c)

sdk_library_add_sources(${EVM_HOME}/modules/iot/bouffalolab/evm_main.c)
sdk_library_add_sources(${EVM_HOME}/modules/iot/freertos/iot_system.c)
sdk_library_add_sources(${EVM_HOME}/modules/iot/freertos/uv.c)
sdk_library_add_sources(${EVM_HOME}/modules/iot/freertos/uv_poll.c)
sdk_library_add_sources(${EVM_HOME}/modules/iot/freertos/uv_timer.c)

sdk_add_include_directories(${EVM_HOME}/modules/iot/gui/lvgl)
sdk_library_add_sources(${EVM_HOME}/modules/iot/gui/lvgl/evm_module_lvgl.c)
sdk_library_add_sources(${EVM_HOME}/modules/iot/gui/lvgl/evm_module_lvgl_event.c)
sdk_library_add_sources(${EVM_HOME}/modules/iot/gui/lvgl/evm_module_lvgl_misc.c)
sdk_library_add_sources(${EVM_HOME}/modules/iot/gui/lvgl/evm_module_lvgl_style.c)
